package com.ruoyi.warehouse.service.impl;

import com.ruoyi.warehouse.domain.KcxqInventoryDetails;
import com.ruoyi.warehouse.domain.LlslIncomingMaterials;
import com.ruoyi.warehouse.domain.WldaMaterialFile;
import com.ruoyi.warehouse.mapper.YlkcMapper;
import com.ruoyi.warehouse.service.YlkcService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class YlkcServiceImpl implements YlkcService {


    @Resource
    private YlkcMapper ylkcMapper;

    @Override
    public List<KcxqInventoryDetails> selectYlkcList(WldaMaterialFile wldaMaterialFile) {
        return ylkcMapper.selectYlkcList(wldaMaterialFile);
    }

    @Override
    public List<LlslIncomingMaterials> consumeList(String[] wlCodes) {
        return ylkcMapper.consumeList(wlCodes);
    }

    @Override
    public List<LlslIncomingMaterials> increaseList(String[] wlCodes) {
        return ylkcMapper.increaseList(wlCodes);
    }
    /**
     *  查询库存详情列表
     * */
    public List<KcxqInventoryDetails> inventoryList(String[] wlCodes){
        return ylkcMapper.inventoryList(wlCodes);
    }
}
